<!-- Dom模板 -->
<template>
  <div>
    <!-- 服务协议 -->
    <div class="box">
      <div class="home_top">
        <h5 class="h5hts">
          <i class="el-icon-arrow-left" @click="dsaa"></i>&#12288;&#12288;&#12288;
          <p class="psds">服务协议</p>
          <img class="imgss" src="@/img/gbimg.png" alt="" />
        </h5>
      </div>

      <div class="h1h6 test">
        <h1 class="h1ss">25天</h1>
        <h6 class="h6ss">剩余时间</h6>
      </div>

      <div class="tjxsas">
        <img class="imgdata" src="../../../img/dsds.png" alt="" />
        <div class="dsasa">
          <p>&#12288;提交预约</p>
          <p>支付服务器</p>
          <p>等待接单</p>
          <h5>服务中</h5>
        </div>
      </div>
    </div>

    <div class="boxs">
      <div class="xdiss">
        <img src="../../../img/tou.png" alt="" class="imgssasss" />
        <div class="dsadas">
          <img src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.zx123.cn%2FResources%2Fzx123cn%2Fuploadfile%2F2018%2F1112%2Fthumb_600_water_20181112100921_49938.jpg&refer=http%3A%2F%2Fimg.zx123.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1630808886&t=30dcc5178a4ad9311318d716d229657a" alt="" class="imgssa" />
          <div>
            <h3>&#8194;餐厅名称</h3>
            <h5 class="dsds">7天</h5>
            <h6 class="pdsaw">&#8194;位置:&#8194;奎文区胜利街虞河东北角25号</h6>
          </div>
        </div>

        <div class="divsds">
          <div class="zuodiv">
            <h5>订购时长</h5>
            <h5>结款机制</h5>
            <h5>作息时间</h5>
            <h5>用餐人数</h5>
            <h5>用餐餐段</h5>
            <h5>套餐标准</h5>
          </div>

          <div class="youdiv">
            <h6>7天</h6>
            <h6>周结</h6>
            <h6 class="sxjz">双休机制</h6>
            <h6>318&#8194;人</h6>
            <h6 class="redds">全部餐段</h6>
            <h6 class="redds">一荤三素、两荤两素</h6>
          </div>
        </div>

        <div class="fyxys">
          <i class="el-icon-info"></i>
          <h6 class="dsdws">
            <h5 :style="{ color: '#fcab39' }">服务协议</h5>
            &#8194;
            <h5 :style="none">预约须知</h5>
            &#8194;
            <p :style="{ color: '#c1c1c1' }">(预约既代表同意以下规则)</p>
          </h6>

          <div class="tbsd">
            <!-- 查看图标 -->
            <a href="">查看</a>
          </div>

          <div class="pdsad">
            <h6>1.医事服务费由医院设定本平台不收取任何额外费用</h6>
            <h6>2.停诊将短信通知，请保持手机畅通</h6>
            <h6>3.实名制预约，就诊人信息不符将无法取号</h6>
            <h6>
              4.门诊为网上就诊，届时医生将拨打患者网络电话，如无法在规定时间内接听视为爽约
              <p>爽约</p>
            </h6>
          </div>
        </div>

        <div class="dididi">
          <h6>服务周期时间:</h6>
          <p>(预约既代表同意以下规则)</p>
          <h3>5月5日-7月5日</h3>
        </div>

        <p class="desdsw">服务签订人:</p>

        <div class="redsds">
          <div class="divredsds">
            <h4>王先生</h4>
            <h6>男 &#32;| &#32;30岁</h6>
          </div>
          <div>
            <h6 class="dizhbh">账户编号</h6>
            <h6 class="dizhbh">所在部门</h6>
            <div class="didshhs">
              <h6>YBK12312312331211</h6>
              <h6>HR管理</h6>
            </div>
          </div>

          <div class="dadsa">
            <p @click="deleteuser" >解除服务</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
// import a from './a'; // 引入组件
import Fanhui from "../utils/fanhui.vue"; // 引入组件
import * as api from "../../../../src/api/index"
export default {
  name: "",
  components: {
    Fanhui,
  },
  data() {
    return {
      msg: "测试",
      a: "服务协议",
      active: 0,
    };
  },
  // 生命周期 - 创建完成（访问当前this实例）
  created() {},
  // 生命周期 - 挂载完成（访问DOM元素）
  mounted() {},
  // Vue方法定义
  methods: {
    dsaa(){
      this.$router.go(-1)
    },
    next() {
      if (this.active++ > 3) this.active = 0;
    },
    // 解除关系，删除
    deleteuser(){

    
    // alert("已解除");
    }
      
    
  },
};
</script>


<style scoped>
.dadsa p {
  text-align: center;
  line-height: 48px;
  color: rgb(107, 105, 105);
  box-shadow: 1px 1px 9px 5px #d9e9ff;
  border-radius: 28px 28px 28px 28px ;
}
.dadsa {
  height: 48px;
  width: 202px;

  position: relative;
  top: 35px;
  left: 85px;
}
.didshhs {
  height: 39px;
  width: 200px;
  position: relative;
  left: 138px;
  top: -26px;
}
.didshhs h6 {
  margin: 2px;
  text-align: right;
  color: rgb(107, 105, 105);
}
.dizhbh {
  color: #b1afaf;
  position: relative;
  top: 13px;
  margin: 4px 11px;
}
.divredsds h4 {
  display: inline-block;
  margin: 12px -2px;
}
.divredsds h6 {
  display: inline-block;
  margin: 12px 0;
  color: #b1afaf;
}
.divredsds {
  height: 45px;
  width: 340px;
  box-shadow: 0px 1px rgba(121, 118, 118, 0.137);
  margin: 0 auto;
  float: right;
}

.redsds {
  width: 350px;
  height: 110px;
  margin: 3px 0px;
  animation-duration: 0.6s;
  animation-name: animateLeftdsdds;
  box-shadow: 1px 1px 9px 5px rgb(121 118 118 / 16%);
}
@keyframes animateLeftdsdds {
  0% {
    transform: translateY(220px);
  }
}

.desdsw {
  font-size: 11px;
  margin: 7px 2px;
  font-weight: 600;
  color: #c1c1c1;
}
.dididi h3 {
  position: relative;
  right: -212px;
  top: -30px;
}
.dididi p {
  color: #c1c1c1;
  font-weight: 600;
  font-size: 10px;
  margin: 1px 0;
}
.dididi {
  height: 36px;
  width: 340px;
  margin: 0 auto;
  color: #6b6b6b;
  margin: 3px 4px;
}
.pdsad {
  margin: -29px 2px;
}
.pdsad h6 {
  margin: 1px 0;
  color: #6b6b6b;
}
.pdsad p {
  display: inline-block;
  color: #ffa72b;
}
.tbsd {
  height: 18px;
  width: 34px;
  background-color: #ffe2b8;
  left: 302px;
  position: relative;
  bottom: 28px;
}
a {
  text-decoration: none;
  font-size: 12px;
  position: fixed;
  color: #c08b41;
  margin: 0 5px;
} /*正常的未被访问过的链接*/
a:link {
  text-decoration: none;
} /*已经访问过的链接*/
a:visited {
  text-decoration: none;
} /*鼠标划过(停留)的链接*/
a:hover {
  text-decoration: none;
} /* 正在点击的链接*/
a:active {
  text-decoration: none;
}
.fyxys {
  height: 112px;
  width: 340px;
  box-shadow: 0px 1px rgba(121, 118, 118, 0.137);
  margin: 0 auto;
}
.dsdws {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  left: 22px;
  bottom: 12px;
  /* border: 4px solid red; */
}
.el-icon-info {
  color: #fcab39;
  position: relative;
  left: 2px;
  bottom: -7px;
}
.sxjz {
  color: #0b7dff;
  font-weight: 800;
}
.redds {
  color: #fcab39;
}
.zuodiv {
  display: inline-block;
  float: left;
}
.zuodiv h5 {
  margin: 8px 4px;
  color: #b1afaf;
}
.youdiv {
  display: inline-block;
  float: right;
}
.youdiv h6 {
  margin: 10px 4px;
  text-align: right;
}
.divsds {
  height: 162px;
  width: 340px;
  box-shadow: 0px 1px rgba(121, 118, 118, 0.137);
  text-align: center;
  margin: 0 auto;
}
.pdsaw {
  margin: 5px;
  position: fixed;
}
.dsds {
  position: relative;
  left: 192px;
  top: -25px;
  float: right;
  color: #0b7dff;
}
.dsadas {
  display: flex;
  height: 65px;
  box-shadow: 0px 1px rgba(121, 118, 118, 0.137);
}

.imgssa {
  width: 63px;
    height: 56px;
}
.imgssasss {
  width: 40px;
  height: 19px;
  margin: 0 0 -4px 0;
}
.xdiss {
  width: 350px;
  /* border: 1px solid red; */
  height: 400px;
  margin: 3px 11px;
  animation-duration: 0.5s;
  animation-name: animateLeftdsd;
  box-shadow: 1px 1px 9px 5px rgb(121 118 118 / 16%);
}
@keyframes animateLeftdsd {
  0% {
    transform: translateY(220px);
  }
}
/* .box{
  height: 100%;
  width: 100%;
} */
.boxs {
  height: 750px;
  width: 400px;
  margin: 20px 0;
  background: linear-gradient(#ffffff, #f7f8ff);
  /* position: relative; */
}

.tjxsas {
  animation-duration: 2s;
  animation-name: animateLeftas;
}
@keyframes animateLeftas {
  0% {
    opacity: 0;
  }
}

.dsasa {
  color: #9e6c46;
  margin: 15px 0 0 0;
  height: 20px;
}
.dsasa p {
  font-weight: 500;
  font-size: 9px;
  display: block;
  float: left;
  margin: 0 20px 0;
}
.dsasa h5 {
  font-weight: 600;
  font-size: 9px;
  display: block;
  float: left;
  margin: 0 20px 0;
}
.imgdata {
  height: 25px;
  width: 279px;
  left: 55px;
  bottom: -19px;
  position: relative;
}

/* 动画过度 百分比是控制开始结束 */
.test {
  animation-duration: 0.7s;
  animation-name: animateLeft;
}
@keyframes animateLeft {
  0% {
    transform: translateY(-90px);
  }
  60% {
    transform: translateY(30px);
  }
  75% {
    transform: translateY(-20px);
  }
  90% {
    transform: translateY(20px);
  }
  to {
    transform: none;
  }
}

.el-icon-arrow-left {
  float: left;
  font-weight: 800;
  color: #9e6c46;
}
.imgss {
  float: right;
  height: 18px;
}
.h5hts {
  font-size: 14px;
  padding: 34px 5px 5px 5px;
  text-align: center;
}
.psds {
  display: inline-block;
  color: #ffffff;
  font-weight: 600;
}
/* 渐变背景 */
.home_top:after {
  width: 170%;
  height: 200px;
  position: absolute;
  left: -35%;
  top: 0;
  z-index: -1;
  content: "";
  border-radius: 0 0 50% 50%;
  background: linear-gradient(#f3944f, #f3e5cf);
}

.h1h6 {
  height: 60px;
  width: 100px;
  color: #c88b34;
  position: relative;
  left: 144px;
  top: 15px;
}
.h1ss {
  text-align: center;
}
.h6ss {
  text-align: center;
}
</style>